using System;
using System.Collections.Generic;
using System.Text;

namespace Common.Database
{
    /// <summary>
    /// 
    /// </summary>
    public interface IStoredProcedure : IDeletable, IRenamable
    {
        #region C'Tor / D'Tor

        /// <summary>
        ///
        /// </summary>
        void Update();


        #endregion C'Tor / D'Tor

        #region Properties

        /// <summary>
        ///
        /// </summary>
        string Name
        {
            get;
            set;
        }

        /// <summary>
        ///
        /// </summary>
        string SQL
        {
            get;
            set;
        }

        /// <summary>
        ///
        /// </summary>
        bool IsNew
        {
            get;

        }

        /// <summary>
        ///
        /// </summary>
        DateTime DateCreated
        {
            get;
        }

        /// <summary>
        ///
        /// </summary>
        string Owner
        {
            get;
        }


        #endregion Properties

    }
}
